import os
import sys

env=DefaultEnvironment().Clone()
BIN_DIR=os.environ['BIN_DIR']

src_files = Glob('*.c')

env.Program(os.path.join(BIN_DIR, 'demo'), src_files);